package com.example.springboot01;

public class SingleTon {


    private SingleTon() {

    }

    public static SingleTon getInstance() {
        return InnerHolder.SINGLE_TON;
    }

    private static class InnerHolder {
        private static final SingleTon SINGLE_TON = new SingleTon();
    }
}
